package com.cn.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.cn.damain.dto.ReserveQuery;
import com.cn.damain.po.StCertInfo;
import com.cn.damain.po.StUser;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;

public interface UserMapper extends BaseMapper<StUser> {
    @Select("select * from ${tableName} where user_name=#{userName} and password=#{password}")
    List<StUser> userLogin(@Param("userName") String userName, @Param("password") String password, @Param("tableName") String tableName);
}
